package com.flower.oss.service;

import com.flower.oss.adapter.StorageAdapter;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-11 18:51
 */
@Service
public class FileService {

    private final StorageAdapter storageService;

    public FileService(StorageAdapter storageService) {
        this.storageService = storageService;
    }

    public List<String> getAllBucket(){
      return storageService.getAllBuckets();
    }
}
